package cn.ilikes.tools.nosql.test.jpa.pojos.relation;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import cn.ilikes.tools.nosql.jpa.annotations.Index;
import cn.ilikes.tools.nosql.jpa.annotations.IndexColumn;

@Entity
@Table(name = "tests_one", schema = "ilikes")
@Index
public class One {

	@Id
	@IndexColumn(index = IndexColumn.Index.analyzed, name = "id", store = IndexColumn.Store.yes)
	private String id;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

}
